/**
 * 高级搜索
 */

function conditionSel(obj) {
    //alert('gg');
    var obj = $(obj);
    var showTit = obj.parents('.moreSearchTC_Con_li').children('span.HomeSelect_span');//显示层 
    var $selectObj = obj.children('option:selected');
    var selectTit = $selectObj.text();//三角图片
    showTit.text(selectTit);
//    if ($selectObj.val() != 0 ) {
//    	var selectTit = $selectObj.html();//三角图片
//        showTit.text(selectTit);
//    }

}
//function rotate180(obj){
//    obj = $(obj);
//    var xl3icon = obj.children('span.xl3icon');
//    var yes180 = xl3icon.hasClass('xl3icon180');
//    if (yes180 == false) {
//        xl3icon.addClass('xl3icon180');
//    } else {
//        xl3icon.removeClass('xl3icon180');
//    }
//}
//高级搜索 title显示默认值
$(document).ready(function() {
    var $selectList = $(".mHSearch_select_show");

    $.each($selectList, function(index, domEle) {
        conditionSel(domEle);
    });

});
